package com.kunyi.web.service.log.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.kunyi.platform.log.entity.dto.SaveSafeDto;
import com.kunyi.web.service.log.entity.domain.LogSafe;
import com.kunyi.web.service.log.entity.req.LogSafeListReq;
import com.kunyi.web.service.log.entity.resp.LogSafeDetailResp;
import com.kunyi.web.service.log.entity.resp.LogSafeListResp;

/**
 * @ClassName ILogSafeService
 * @Description log_safe业务
 * @Author pengjunjun
 * @Date 2024/3/6 14:29
 * @Version 1.0
 **/
public interface ILogSafeService extends IService<LogSafe> {

    /**
     * @Author pengjunjun
     * @Description 保存安全日志
     * @Date 15:55 2024/3/9
     * @Param saveSafe:
     * @return Long
     **/
    Long save(SaveSafeDto saveSafe);
    /**
     * @Author pengjunjun
     * @Description 根据参数分页
     * @Date 17:19 2024/3/6
     * @Param req:
     * @return PageInfo<LogSafeListResp>
     **/
    PageInfo<LogSafeListResp> pageByParam(LogSafeListReq req);

    /**
     * @Author pengjunjun
     * @Description 根据id查询系统日志
     * @Date 17:30 2024/3/6
     * @Param id:
     * @return LogSafeDetailResp
     **/
    LogSafeDetailResp detailById(Long id);
}
